package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("storecom")
public class StoreCom {
    @TableId(value = "scid", type = IdType.AUTO)
    @ApiModelProperty(value = "商场评论的主键")
    private Integer scid;

    @TableField(value = "storecominfo")
    @ApiModelProperty(value = "商场评论信息")
    private String storecominfo;

    @TableField(value = "uid")
    @ApiModelProperty(value = "评论的用户id")
    private Integer uid;

    @TableField(value = "sid")
    @ApiModelProperty(value = "商场id")
    private Integer sid;

    @TableField(value = "shoppingtime")
    @ApiModelProperty(value = "评论时间")
    private Date shoppingtime;

}
